// utils.scss
// 使用scss的math函数，https://sass-lang.com/documentation/breaking-changes/slash-div

@use "sass:math";

//默认设计稿的宽度
// $designWidth: 3840;
$designWidth: 1920;
//默认设计稿的高度
// $designHeight: 2160;
$designHeight: 1080;
//最小字体
$minFontSize: 14;

//px转为vw的函数

@function vw($px) {
  @return ($px/$designWidth) * 100vw;
}

//px转为vh的函数
@function vh($px) {
  // @return math.div($px, $designHeight) * 100vh;
  @return ($px/$designHeight) * 100vh;
}

//字体转vw
@function font($px) {
 @return ($px/$designWidth) * 100vw;
}

a {
  color: var(--color-text);
  text-decoration: none;
}


.clear-fix::after {
  clear: both;
  content: '';
  display: block;
  width: 0;
  height: 0;
  visibility: hidden;
}

.clear-fix {
  zoom: 1;
}

.left {
  float: left;
}

.right {
  float: right;
}

.el-input__inner{
	background-color: transparent;
}
.btn{
	display: flex;
	justify-content: space-between;
	align-items: center;
}